﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MvcFinalTest.Models
{
    public class JobTypeModel
    {
        public int JobTypeId { get; set; }

        [DisplayName("Name")]
        [Required(ErrorMessage = "Name is required.")] 
        public string Name { get; set; }

        [DisplayName("Rate Per Hour")]
        [Required(ErrorMessage = "Rate Per Hour is required.")] 
        public decimal RatePerHour { get; set; }
    }
}